

public class Tablero2d extends Tablero implements Dibujable{


	public Tablero2d(int al, int an) {
		super(al, an);
	}

	public void Dibujar(){
		System.out.println("\nDIBUJAR TABLERO desde 2d");
		for (int i=0;i<getAncho();i++){
			System.out.print("x");
		}
		System.out.println();
		for (int i=0;i<getAlto()-2;i++){
			System.out.print("x");
			for (int j=0;j<getAncho()-2;j++){
				System.out.print(" ");
			}
			System.out.print("x");
			System.out.println();
		}
		for (int i=0;i<getAncho();i++){
			System.out.print("x");
		} 
		
		
		
	}
	
}
